package com.fw.system.admin.domain;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fw.annotation.Excel;
import com.fw.core.domain.BaseEntity;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 装备购买出售记录对象 tb_guns_log
 * 
 * @author xxx
 * @date 2021-12-03
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tb_guns_log")
@ApiModel(value="装备购买出售记录", description="装备购买出售记录表")
public class TbGunsLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @ApiModelProperty(value = "${comment}")
    @TableField("id")
    private String id;

    /** $column.columnComment */
    @ApiModelProperty(value = "${comment}")
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    @TableField("user_id")
    private String userId;

    /** $column.columnComment */
    @ApiModelProperty(value = "${comment}")
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    @TableField("guns_id")
    private String gunsId;

    /** 日志数量 */
    @ApiModelProperty(value = "${comment}")
    @Excel(name = "日志数量")
    @TableField("guns_count")
    private Long gunsCount;

    /** 发生金额 */
    @ApiModelProperty(value = "日志数量")
    @Excel(name = "发生金额")
    @TableField("amount")
    private BigDecimal amount;

    /** 1买入 2卖出 */
    @ApiModelProperty(value = "发生金额")
    @Excel(name = "1买入 2卖出")
    @TableField("is_type")
    private Long isType;




}
